package com.ytrsoft.im;

import com.ytrsoft.entity.Message;
import com.ytrsoft.entity.User;
import jakarta.websocket.Session;

public class IMPresenter {

    private String id;
    private User from;
    private User to;
    private byte[] stream;
    private Message message;
    private Session session;

    public byte[] getStream() {
        return stream;
    }

    public void setStream(byte[] stream) {
        this.stream = stream;
    }

    public Message getMessage() {
        return message;
    }

    public void setMessage(Message message) {
        this.message = message;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public User getFrom() {
        return from;
    }

    public void setFrom(User from) {
        this.from = from;
    }

    public User getTo() {
        return to;
    }

    public void setTo(User to) {
        this.to = to;
    }
}
